﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Permissions;
using RevClinic.Core.Commands.Models;

namespace RevClinic.Core.Commands
{
    [PrincipalPermission(SecurityAction.Demand, Authenticated = true, Role = "/User/Create")]
    public class UserCreateCommand : CommandBase<UserCreateModel>
    {
        public UserCreateCommand(UserCreateModel model)
            : base(model)
        {
        }

        public UserCreateCommand(Action<UserCreateModel> modelInit)
            : base(modelInit)
        {
        }

        public override string CommandName
        {
            get { return "UserCreateCommand"; }
        }
    }
}
